<div class="user_course_list">
  <div class="menu">
  <%= link_to "#{l(:label_course_new)}", new_project_path(course: 1, project_type: 1), class: 'icon icon-add' if @user == User.current %>
    <ul>
      <li mode='doing' class="on">进行中</li>
      <li mode='end'>已完结</li>
    </ul>
  </div>

  <div class="dyn_list_wrapper" mode='doing'>
    <div class='created_course'>
      <%= render :partial => 'course_form', :locals => {:memberships => @memberships_doing} %>
    </div>
  </div>

  <div class="dyn_list_wrapper hidden" mode='end'>
    <div class="created_course ">
      <%= render :partial => 'course_form', :locals => {:memberships => @memberships_done} %>
    </div>
  </div>
</div>

